.TH "iec61883Reader" 3 "13 Oct 2009" "Version 2" "zebulon" \" -*- nroff -*-
.ad l
.nh
.SH NAME
iec61883Reader \- 
.SH SYNOPSIS
.br
.PP
.PP
Inherits \fBIEEE1394Reader\fP.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBiec61883Reader\fP (int port=0, int \fBchannel\fP=63, int buffers=50, BusResetHandler=0, BusResetHandlerData=0, bool hdv=false)"
.br
.ti -1c
.RI "bool \fBOpen\fP (void)"
.br
.ti -1c
.RI "void \fBClose\fP (void)"
.br
.ti -1c
.RI "bool \fBStartReceive\fP (void)"
.br
.ti -1c
.RI "void \fBStopReceive\fP (void)"
.br
.ti -1c
.RI "bool \fBStartThread\fP (void)"
.br
.ti -1c
.RI "void \fBStopThread\fP (void)"
.br
.ti -1c
.RI "int \fBHandler\fP (unsigned char *data, int length, int dropped)"
.br
.ti -1c
.RI "void * \fBThread\fP ()"
.br
.ti -1c
.RI "void \fBResetHandler\fP (void)"
.br
.in -1c
.SH "Constructor & Destructor Documentation"
.PP 
.SS "iec61883Reader::iec61883Reader (int p = \fC0\fP, int c = \fC63\fP, int bufSize = \fC50\fP, BusResetHandler resetHandler = \fC0\fP, BusResetHandlerData data = \fC0\fP, bool hdv = \fCfalse\fP)"Initializes the raw1394Reader object.
.PP
The object is initialized with port and channel number. These parameters define the interface card and the iso channel on which the camcorder sends its data.
.PP
\fBParameters:\fP
.RS 4
\fIp\fP the number of the interface card to use 
.br
\fIc\fP the iso channel number to use 
.br
\fIbufSize\fP the number of frames to allocate for the frames buffer 
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "void iec61883Reader::Close (void)\fC [virtual]\fP"Close the raw1394 interface 
.PP
Implements \fBIEEE1394Reader\fP.
.SS "bool iec61883Reader::Open (void)\fC [virtual]\fP"Open the raw1394 interface
.PP
\fBReturns:\fP
.RS 4
success/failure 
.RE
.PP

.PP
Implements \fBIEEE1394Reader\fP.
.SS "bool iec61883Reader::StartThread (void)\fC [virtual]\fP"Start receiving DV frames
.PP
The ieee1394 subsystem is initialized with the parameters provided to the constructor (port and channel). The received frames can be retrieved from the outFrames queue. 
.PP
Implements \fBIEEE1394Reader\fP.
.SS "void iec61883Reader::StopThread (void)\fC [virtual]\fP"Stop the receiver thread.
.PP
The receiver thread is being canceled. It will finish the next time it calls the pthread_testcancel() function. After it is canceled, we turn off iso receive and close the ieee1394 subsystem. We also remove all frames in the outFrames queue that have not been processed until now. 
.PP
Implements \fBIEEE1394Reader\fP.

.SH "Author"
.PP 
Generated automatically by Doxygen for zebulon from the source code.
